package org.ysu.service;

import org.ysu.entity.Poor;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 贫人员表 服务类
 * </p>
 *
 * @author LiuJunDa
 * @since 2024-08-16
 */
public interface PoorService extends IService<Poor> {
    public Boolean add(String poorPeople);
    public boolean check(String value,Long id,String field);
    public List<Poor> list(Long fId);
    public Boolean addOne(String idNumber, String name, String nation, Integer sex, Boolean isHead, String relation, String work, Long fId, String health, Boolean insurance, Boolean basic);
    public Boolean update(Long id, String idNumber, String name, String nation, Integer sex, Boolean isHead, String relation, String work, Long fId, String health, Boolean insurance, Boolean basic);
    public Boolean setHead(Long id, Long fId);
}
